#!/bin/bash
if(test -L $0) then auxlink=`ls -l $0 | sed 's/^[^>]*-> //g'`; M_HOME=`dirname $auxlink`/; else M_HOME=`dirname $0`/; fi; cd $M_HOME
. ../before || exit 1
sb2 ac_cv_header_asm_page_h=no ./configure --prefix=/usr \
  --with-gfxdrivers=none  --enable-fbdev \
  --with-inputdrivers=keyboard,linuxinput,ps2mouse,tslib
sb2 make
sb2 make DESTDIR=$ROOTFS/ install
touch $ROOTFS/.`basename $0`
